﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MUnitGenerator.Actions
{
    class ActionBase
    {
        public ActionBase()
        {
            executeHandler = new EventHandler(Handle);
        }

        private EventHandler executeHandler;

        public EventHandler ExecuteHandler
        {
            get { return executeHandler; }
            set { executeHandler = value; }
        }

        private void Handle(object sender, EventArgs e)
        {
            Execute();
        }

        virtual protected void Execute()
        {

        }
    }

}
